package com.qm.enums;
public class Week {
    private int days; //记录一个月的天数
    public static final Week MONDAY = new Week(1); //静态常量对象，含义比0更准确
    public static final Week TUESDAY = new Week(2);

    public int getDays() {
        return days;
    }

    private Week(int days) {
        this.days = days;
    }
}
